package szhn.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.github.pagehelper.Page;

import szhn.mapper.SystemMapper;
import szhn.model.UserOperationModel;
import szhn.service.SystemService;

@Service
public class SystemServiceImpl implements SystemService {
	
	@Autowired
	private SystemMapper systemMapper;
	
	@Override
	public void userOperation(UserOperationModel userOperationModel) {
		systemMapper.userOperation(userOperationModel);
	}
	
	@Override
	public Page<UserOperationModel> userOperationInfo(String username, String operation){
		return systemMapper.userOperationInfo(username, operation);
	}
	
	@Override
	public List<String> queryOperator(){
		return systemMapper.queryOperator();
	}
}
